﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BLL;
using dto2;

namespace QLSV1
{
    public partial class LOGIN : Form
    {
        KHOA khoa = new KHOA();
        KhoaDAL khoadal = new KhoaDAL();
        public LOGIN()
        {
            InitializeComponent();
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {
            txtAcc.Text= 'Hung';
            txtPas.Text= '123';
            if ()
            {
               Form1 f = new Form1();
                f.Show();
            }
            else
            {
              MessageBox.Show("Dang nhap thanh cong "); 
            }
         }

        private void btCancel_Click(object sender, EventArgs e)
        {
             if (DialogResult.OK == MessageBox.Show("Ban thuc su muon thoat khong ? ", "Thong Bao", MessageBoxButtons.OKCancel, MessageBoxIcon.Question)) 
            this.Close();
        }
       
    }
}
